package day0715;

public class Test8 {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.model = "苹果";
        phone.company = "华为";
        phone.dailPhone();
        phone.setPhoneNumberVal(13389894453L);

        System.out.println(phone.phoneNumber);//0//
    }
}


class Phone{
    String model;
    String company;
    long  phoneNumber;

    void setPhoneNumberVal(long pn){
        phoneNumber=pn;
    }

    void dailPhone(){
        System.out.println("拨打电话");
    }

}